﻿using BCCommon.TMS.Insured;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BCDto.TMS.TrainingSite.TrainingSiteBusinessHours
{
    /// <summary>
    /// 培训点营业时间请求信息模型
    /// </summary>
    public class TrainingSiteBusinessHoursRequestDto
    {
        /// <summary>
        /// 营业日
        /// </summary>
        [Display(Name = "营业日")]
        [Required(ErrorMessage = "{0} 为必填项")]
        public WeekType BusinessDay { get; set; }

        /// <summary>
        /// 开始小时
        /// </summary>
        [Display(Name = "开始小时")]
        public int? StartHour { get; set; }

        /// <summary>
        /// 开始分钟
        /// </summary>
        [Display(Name = "开始分钟")]
        public int? StartMinute { get; set; }

        /// <summary>
        /// 结束小时
        /// </summary>
        [Display(Name = "结束小时")]
        public int? EndHour { get; set; }

        /// <summary>
        /// 结束分钟
        /// </summary>
        [Display(Name = "结束分钟")]
        public int? EndMinute { get; set; }

        /// <summary>
        /// 是否营业
        /// </summary>
        [Display(Name = "是否营业")]
        [Required(ErrorMessage = "{0} 为必填项")]
        public uint IsBusiness { get; set; }
    }
}
